nodelist map

54

const htmlButtons = document.querySelectorAll('button');
const htmlButtonsArray = [...htmlButtons];
htmlButtonsArray.map(button => button.disabled = true);

Comments

Submit
0 Comments